<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
class drConfigurationManager{
    private $drContainer;
    private $xml;
    private $xml_object;

    public function __construct($name) {
        $this->drContainer = new drParametrContainer();
        $this->xml = simplexml_load_file(__DIR__.'/../../config/config.xml');
        $this->xml_object = new SimpleXMLElement($this->xml);
    }
    
    public function getXml()
    {
        return $this->xml_object;
    }
    
    public function getConfiguration($name)
    {
        return $this->xml_object->{$name};
    }
}
